class BranchPoints < ActiveRecord::Migration
  def self.up
    create_table :branch_points do |t|
      t.integer :alpha, :phi, :omega, :semester
    end
    add_column :events, :branch_points, :integer, :default => 0
    add_column :members, :branch, :integer
  end

  def self.down
    remove_column :events, :branch_points
    drop_table :branch_points
    remove_column :members, :branch
  end
end
